package com.suma.boot.mybatis.page;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author chenqi
 * @time 2017/8/23
 */
@ConfigurationProperties("mybatis.pager")
public class MybatisPageHelperProperties {

    private String dialect = "mysql";

    private String reasonable = "true";

    private String supportMethodsArguments = "true";

    private String returnPageInfo = "check";

    private String params = "count=countSql";

    public String getDialect() {
        return dialect;
    }

    public void setDialect(String dialect) {
        this.dialect = dialect;
    }

    public String getReasonable() {
        return reasonable;
    }

    public void setReasonable(String reasonable) {
        this.reasonable = reasonable;
    }

    public String getSupportMethodsArguments() {
        return supportMethodsArguments;
    }

    public void setSupportMethodsArguments(String supportMethodsArguments) {
        this.supportMethodsArguments = supportMethodsArguments;
    }

    public String getReturnPageInfo() {
        return returnPageInfo;
    }

    public void setReturnPageInfo(String returnPageInfo) {
        this.returnPageInfo = returnPageInfo;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

}
